package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafOpenId extends RdfProperty {
    // openid url of the person this foaf document refers to
    private String openId;
    // the givenname for this property
    private final String propName = "foaf:openid";

    /**
     * Constructor for foafName, relies on RdfProperty super constructor.
     * @param givenname  <code>String</code> of the property's givenname.
     */
    public FoafOpenId(String openId) {
        super("foaf:openid");
        this.openId = openId;
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return getOpenProp() + openId + getCloseProp();
    }
}
